package com.changpay.zywy.mvp.model


import com.changpay.zywy.base.BaseModel
import com.changpay.zywy.http.RetrofitHelper
import com.changpay.zywy.mvp.contract.InfoContract
import com.changpay.zywy.bean.HttpResult
import com.changpay.zywy.bean.ZhiXunBg
import io.reactivex.Observable

/**
 * Created by chenxz on 2018/5/27.
 */
class InfoModel : BaseModel(), InfoContract.Model {
    override fun getZhiXunInfo(): Observable<HttpResult<ZhiXunBg>> {
        return  RetrofitHelper.service.getZhiXun()
    }
}